<form
  id="migration-form"
  class="form-horizontal form-label-left"
  method="post"
  autocomplete="off"
>
  {{ form.hidden_tag() }}
  <div class="modal-body">
    <div>
      <label>Empty Database before Import</label>
      {{ form.empty_database_before_import() }}
    </div>
    <div>
      <label>Skip the Pool update after Import</label>
      {{ form.skip_pool_update(checked=True) }}
    </div>
    <div>
      {{ form.export_private_properties.label() }} {{
      form.export_private_properties(checked=True) }}
    </div>
    <br />
    <div>
      <label>
        Directory pathname to use in {{ form.migration_folder }} :<br />
        Example: "10312018_backup"
      </label>
      <div class="form-group">
        <input class="form-control required" list="versions" id="name" name="name" />
        <datalist id="versions"></datalist>
      </div>
    </div>
    <div>
      <label>Object types to include in Import / Export :</label>
      <div class="form-group">
        {{ form.import_export_types(class="form-control required", size="10") }}
      </div>
    </div>
    <div class="form-group">
      <div class="col-md-e col-sm-9 col-xs-12 col-md-offset-5">
        <button
          type="button"
          class="btn btn-success"
          onclick="eNMS.administration.migrationsImport()"
        >
          Import
        </button>
        <button
          type="button"
          class="btn btn-success"
          onclick="eNMS.administration.migrationsExport()"
        >
          Export
        </button>
      </div>
    </div>
  </div>
</form>
